Optimal. Leaf size=45 \[ \frac{2 (d \cos (a+b x))^{7/2}}{7 b d^3}-\frac{2 (d \cos (a+b x))^{3/2}}{3 b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0421826, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {2565, 14} \[ \frac{2 (d \cos (a+b x))^{7/2}}{7 b d^3}-\frac{2 (d \cos (a+b x))^{3/2}}{3 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2565
Rule 14
Rubi steps
\begin{align*} \int \sqrt{d \cos (a+b x)} \sin ^3(a+b x) \, dx &=-\frac{\operatorname{Subst}\left (\int \sqrt{x} \left (1-\frac{x^2}{d^2}\right ) \, dx,x,d \cos (a+b x)\right )}{b d}\\ &=-\frac{\operatorname{Subst}\left (\int \left (\sqrt{x}-\frac{x^{5/2}}{d^2}\right ) \, dx,x,d \cos (a+b x)\right )}{b d}\\ &=-\frac{2 (d \cos (a+b x))^{3/2}}{3 b d}+\frac{2 (d \cos (a+b x))^{7/2}}{7 b d^3}\\ \end{align*}
Mathematica [A] time = 0.32286, size = 57, normalized size = 1.27 \[ -\frac{d \left (3 \sin ^2(2 (a+b x))+16 \cos ^2(a+b x)-16 \sqrt [4]{\cos ^2(a+b x)}\right )}{42 b \sqrt{d \cos (a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 63, normalized size = 1.4 \begin{align*} -{\frac{8}{21\,b}\sqrt{-2\, \left ( \sin \left ( 1/2\,bx+a/2 \right ) \right ) ^{2}d+d} \left ( 6\, \left ( \sin \left ( 1/2\,bx+a/2 \right ) \right ) ^{6}-9\, \left ( \sin \left ( 1/2\,bx+a/2 \right ) \right ) ^{4}+ \left ( \sin \left ({\frac{bx}{2}}+{\frac{a}{2}} \right ) \right ) ^{2}+1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.973501, size = 49, normalized size = 1.09 \begin{align*} \frac{2 \,{\left (3 \, \left (d \cos \left (b x + a\right )\right )^{\frac{7}{2}} - 7 \, \left (d \cos \left (b x + a\right )\right )^{\frac{3}{2}} d^{2}\right )}}{21 \, b d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.8949, size = 88, normalized size = 1.96 \begin{align*} \frac{2 \,{\left (3 \, \cos \left (b x + a\right )^{3} - 7 \, \cos \left (b x + a\right )\right )} \sqrt{d \cos \left (b x + a\right )}}{21 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 11.4533, size = 65, normalized size = 1.44 \begin{align*} \begin{cases} - \frac{2 \sqrt{d} \sin ^{2}{\left (a + b x \right )} \cos ^{\frac{3}{2}}{\left (a + b x \right )}}{3 b} - \frac{8 \sqrt{d} \cos ^{\frac{7}{2}}{\left (a + b x \right )}}{21 b} & \text{for}\: b \neq 0 \\x \sqrt{d \cos{\left (a \right )}} \sin ^{3}{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 87.9465, size = 49, normalized size = 1.09 \begin{align*} -\frac{2 \,{\left (7 \, \left (d \cos \left (b x + a\right )\right )^{\frac{3}{2}} - \frac{3 \, \left (d \cos \left (b x + a\right )\right )^{\frac{7}{2}}}{d^{2}}\right )}}{21 \, b d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]